package cn.semes.org.mapper;

import cn.semes.org.domain.Shop;
import cn.semes.basic.mapper.BaseMapper;
import cn.semes.org.dto.AuditShopDto;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author semes
 * @since 2022-11-20
 */
public interface ShopMapper extends BaseMapper<Shop> {

    Shop findByPhone(String tel);

    Shop findByShopId(Long shopId);

    void AuditShopReject(Long id);

    void AuditShopPass(Long id);

    void active(Long id);

    // 驳回时的数据回显
    void reset(Long id);
}
